package cn.com.greatwall.system.modules.oauth2.rest;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.com.greatwall.common.annotation.AnonymousAccess;
import cn.com.greatwall.common.annotation.rest.AnonymousGetMapping;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author herw
 * @Time 2020-12-08 09:51:32
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
@Controller
public class Oauth2Controller {
    @RequestMapping("/auth/login")
    public String loginPage(Model model, HttpServletRequest request) {
        return "base-login";
    }
}
